package com.luo.service.user;

import com.luo.pojo.User;

public interface UserService {

    boolean hasUser(String username);

    boolean hasPhone(String phoneNumber);

    int userReg(User user);

    User getUserByNumber(String phoneNumber);

    boolean isPwd(String phoneNumber,String password);

    User getUserByName(String username);
}
